package com.example.demo.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * @Author: ak
 * @Date: 2020/4/13 19:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CommentDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer cId;

    private Integer cQuestionId;

    private Integer cCommentId;

    @NotEmpty(message = "评论内容不能为空")
    private String cText;

    private String cCreate;

    private Integer cLike;

    private String cAuthor;

    private String cCount;

    private Integer cType;

    private List<com.example.demo.entity.Comment> secondCommentList;
}
